home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-10-09 | 1.0 KB | 45 lines |
- ##
- ## makefile for hsc example project
- ##
-
- hsc = /hsc # command used to envoke hsc
- destdir= ram:example
- dest = $(destdir)/ # project destination dir
- opts = CheckUri AbsUri DestDir=$(dest) verbose # options for hsc
-
- #
- # amiga symbols
- #
- mkdir = makedir # command used to create a new dir
- copy = copy # command used to copy a file
- del = delete ALL # command used to remove a directory
-
- #
- # unix symbols
- #
- #mkdir = mkdir
- #copy = cp
- #del = rm -r
-
- all : $(dest)stupid.html $(dest)hugo/hugo.html $(dest)main.html
- # do nufin
-
- $(dest)main.html : main.hsc macro.hsc
- $(hsc) main.hsc $(opts)
-
- $(dest)stupid.html : stupid.hsc macro.hsc
- $(hsc) stupid.hsc $(opts)
-
- $(dest)hugo/hugo.html : hugo/hugo.hsc macro.hsc
- $(hsc) hugo/hugo.hsc $(opts)
-
- picture : hugo/hugo.gif
- $(copy) hugo/hugo.gif $(dest)hugo
- destdir:
- $(mkdir) $(destdir)
- $(mkdir) $(dest)hugo
-
- # remove the whole example
- clean :
- $(del) $(destdir)
-